package com.example;

import com.example.service.ResumeService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author lbq
 * @version 1.0
 * @date 2021/5/30 20:18
 */
@SpringBootApplication
public class ResumeApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ResumeApplication.class, args);
        ResumeService resumeService = context.getBean(ResumeService.class);
        // List<Resume> list = resumeService.findAll();
        // list.forEach(System.out::println);
        // resumeService.insert();
        System.out.println(resumeService.queryByCondition());
    }
}
